package ua.com.ulitko.client.entity;

import com.google.gwt.user.client.rpc.IsSerializable;

import java.util.ArrayList;
import java.util.List;

/**
 * A list of songs.
 *
 * @author suamo ( 09.03.12 14:55 )
 */
public class Album implements IsSerializable {
    private long id;
    private String name;
    private ArrayList<Song> songList;

    public Album() {
    }

    public Album(String name, ArrayList<Song> songList) {
        this.name = name;
        this.songList = songList;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Song> getSongList() {
        return songList;
    }

    public void setSongList(ArrayList<Song> songList) {
        this.songList = songList;
    }
}
